import { _decorator, Component, Node, director, NodeEventType } from "cc";
const { ccclass, property } = _decorator;

@ccclass("StartContorl")
export class StartContorl extends Component {
  protected start(): void {
    this.node.on(NodeEventType.TOUCH_END, () => {
      director.loadScene("game");
    });
  }
}
